Skip to content

Conversation

@vblagoje
Copy link
Member

@vblagoje vblagoje commented Dec 2, 2025

Why

Updates HuggingFaceLocalChatGenerator to use Qwen/Qwen3-0.6B as a default model and adds support for thinking-capable models that can generate intermediate reasoning steps.

What

  • Updated default model from generic to Qwen/Qwen3-0.6B
  • Added enable_thinking parameter to enable intermediate reasoning in thinking-capable models
  • Added live integration tests for both thinking modes (enabled/disabled)

How can it be used

# Enable thinking mode for reasoning tasks
llm = HuggingFaceLocalChatGenerator(
    model="Qwen/Qwen3-0.6B",
    enable_thinking=True
)

How did you test it

  • Added live integration tests validating thinking mode behavior with and without enable_thinking
  • Full test suite passes

Notes for the reviewer

  • Default model change may affect existing pipelines relying on the previous default
  • Thinking mode only works with compatible models like Qwen3 and other new models

@vercel
Copy link

vercel bot commented Dec 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
haystack-docs Ignored Ignored Preview Dec 11, 2025 10:27am

@vblagoje vblagoje added ignore-for-release-notes PRs with this flag won't be included in the release notes. and removed topic:tests labels Dec 2, 2025
@github-actions github-actions bot added the type:documentation Improvements on the docs label Dec 2, 2025
@vblagoje vblagoje marked this pull request as ready for review December 10, 2025 13:56
@vblagoje vblagoje requested a review from a team as a code owner December 10, 2025 13:56
@vblagoje vblagoje requested review from anakin87 and sjrl and removed request for a team December 10, 2025 13:56
@vblagoje
Copy link
Member Author

@sjrl have @anakin87 take a look - he knows this code inside out

vblagoje and others added 3 commits December 11, 2025 11:00
Updated the release notes to reflect changes in the HuggingFaceLocalChatGenerator, including the new default model and the addition of the enable_thinking parameter.
@vblagoje vblagoje requested a review from anakin87 December 11, 2025 10:38
@vblagoje vblagoje merged commit 0c214c1 into main Dec 11, 2025
23 checks passed
@vblagoje vblagoje deleted the hf_update branch December 11, 2025 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release-notes PRs with this flag won't be included in the release notes. topic:tests type:documentation Improvements on the docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants